package com.makelove.bar.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: bar
 * @description: 横切
 * @author: 索腾龙
 * @create: 2021-04-28 20:33
 **/
@Configuration
public class MybatisPlusConfig {
    @Bean
    public PaginationInterceptor PaginationInterceptor(){
        PaginationInterceptor page = new PaginationInterceptor();
        return page;
    }
}